Mock.mock('/login', 'post', function(options) {
	// console.log(options.body)
	const user = JSON.parse(options.body);
	let code = 200;
	let message = "成功!";
	let apikey = "";
	if (user.email === "admin@163.com" && user.password === "12345") {
		apikey = "b9b3a96f7554e3bead2eccf16506c13e";
	} else {
		code = 400;
		message = "失败!";
	}
	return `{
		"code": ${code},
		"message": "${message}",
		"result": {
			"apikey": "${apikey}",
			"nickname":"admin"
		}
	}`
})
